package com.yvan.demo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;

import java.math.BigDecimal;

@TableName("bas_sku")
@Getter
@Setter
public class BasSku {

    @TableField("owner_id")
    @ApiModelProperty("货主ID")
    private String ownerId;

    @TableId("sku_id")
    @ApiModelProperty("SKUID")
    private String skuId;

    @TableField("sku_code")
    @ApiModelProperty("SKU编号")
    private String skuCode;

    @TableField("sku_name")
    @ApiModelProperty("SKU名称")
    private String skuName;

    @TableField("logogram")
    @ApiModelProperty("助记码")
    private String logogram;

    @TableField("sku_desc")
    @ApiModelProperty("SKU描述")
    private String skuDesc;

    @TableField("manufacturer")
    @ApiModelProperty("厂家")
    private String manufacturer;

    @TableField("origin")
    @ApiModelProperty("产地")
    private String origin;

    @TableField("is_enable")
    @ApiModelProperty("是否启用")
    private Boolean isEnable;

    @TableField("allow_putin")
    @ApiModelProperty("允许入库")
    private Integer allowPutin;

    @TableField("allow_out")
    @ApiModelProperty("允许出库")
    private Integer allowOut;

    @TableField("stock_env")
    @ApiModelProperty("库存环境")
    private Integer stockEnv;

    @TableField("length")
    @ApiModelProperty("长")
    private BigDecimal length;

    @TableField("width")
    @ApiModelProperty("宽")
    private BigDecimal width;

    @TableField("high")
    @ApiModelProperty("高")
    private BigDecimal high;

    @TableField("volume")
    @ApiModelProperty("体积")
    private BigDecimal volume;

    @TableField("gross_weight")
    @ApiModelProperty("毛重")
    private BigDecimal grossWeight;

    @TableField("net_weight")
    @ApiModelProperty("净重")
    private BigDecimal netWeight;

    @TableField("tare_weight")
    @ApiModelProperty("皮重")
    private BigDecimal tareWeight;

    @TableField("price")
    @ApiModelProperty("单价")
    private BigDecimal price;

    @TableField("sku_classify")
    @ApiModelProperty("产品分类")
    private Integer skuClassify;

    @TableField("sku_category")
    @ApiModelProperty("产品类别")
    private Integer skuCategory;

    @TableField("remark")
    @ApiModelProperty("备注")
    private String remark;

    @TableField("pack_id")
    @ApiModelProperty("包装ID")
    private String packId;

    @TableField("lot_rule_id")
    @ApiModelProperty("批属性规则ID")
    private String lotRuleId;

    @TableField("pack_alloc_rule_id")
    @ApiModelProperty("包装规则ID")
    private String packAllocRuleId;

    @TableField("tray_qty")
    @ApiModelProperty("标准托盘量")
    private Integer trayQty;

    @TableField("locat_spec_rule")
    @ApiModelProperty("库位指定规则")
    private Integer locatSpecRule;

    @TableField("putaway_rule_id")
    @ApiModelProperty("上架规则ID")
    private String putawayRuleId;

    @TableField("shelf_locat_id")
    @ApiModelProperty("上架库位ID")
    private String shelfLocatId;

    @TableField("ea_locat_id")
    @ApiModelProperty("件拣选库位ID")
    private String eaLocatId;

    @TableField("cs_locat_id")
    @ApiModelProperty("箱拣选库位ID")
    private String csLocatId;

    @TableField("hybrid_locat_id")
    @ApiModelProperty("箱拣选库位ID")
    private String hybridLocatId;

    @TableField("quality_rule_id")
    @ApiModelProperty("质检规则ID")
    private String qualityRuleId;

    @TableField("inv_turrul_id")
    @ApiModelProperty("库存周转规则ID")
    private String invTurrulId;

    @TableField("pre_alloc_rule_id")
    @ApiModelProperty("预分配规则ID")
    private String preAllocRuleId;

    @TableField("alloc_rule_id")
    @ApiModelProperty("分配规则ID")
    private String allocRuleId;

    @TableField("rep_rule_id")
    @ApiModelProperty("补货规则ID")
    private String repRuleId;

    @TableField("seq_rule_id")
    @ApiModelProperty("序列号规则ID")
    private String seqRuleId;

    @TableField("onestep_alloc")
    @ApiModelProperty("一步分配")
    private Integer onestepAlloc;

    @TableField("onestep_alloc_sort")
    @ApiModelProperty("一步分配排序字段")
    private Integer onestepAllocSort;

    @TableField("allow_openpack")
    @ApiModelProperty("允许拆内包装")
    private Integer allowOpenpack;

    @TableField("allow_openbox")
    @ApiModelProperty("允许拆箱包装")
    private Integer allowOpenbox;

    @TableField("validity_control")
    @ApiModelProperty("控制有效期")
    private Integer validityControl;

    @TableField("cycle_type")
    @ApiModelProperty("周期类型")
    private Integer cycleType;

    @TableField("validperiod")
    @ApiModelProperty("有效期")
    private Integer validperiod;

    @TableField("expirwarn")
    @ApiModelProperty("失效期预警")
    private Integer expirwarn;

    @TableField("putinvalid")
    @ApiModelProperty("入库效期")
    private Integer putinvalid;

    @TableField("outvalid")
    @ApiModelProperty("出库效期")
    private Integer outvalid;

    @TableField("allow_blindcollec")
    @ApiModelProperty("允许盲收")
    private Integer allowBlindcollec;

    @TableField("freeze_code")
    @ApiModelProperty("冻结编码")
    private Integer freezeCode;

    @TableField("quality_cycle")
    @ApiModelProperty("质检周期")
    private Integer qualityCycle;

    @TableField("pack_group")
    @ApiModelProperty("装箱组")
    private Integer packGroup;

    @TableField("default_packtype")
    @ApiModelProperty("默认箱型")
    private Integer defaultPacktype;

    @TableField("cycle_level_id")
    @ApiModelProperty("循环级别ID")
    private String cycleLevelId;

    @TableField("last_cycle_count_date")
    @ApiModelProperty("上次循环盘点时间")
    private String lastCycleCountDate;

    @TableField("danger_grade")
    @ApiModelProperty("危险品等级")
    private Integer dangerGrade;

    @TableField("defautlt_customer")
    @ApiModelProperty("默认收货单位")
    private String defautltCustomer;

    @TableField("default_supplier")
    @ApiModelProperty("默认发货单位")
    private String defaultSupplier;

    @TableField("review_scan_unit")
    @ApiModelProperty("复核扫描单位")
    private Integer reviewScanUnit;

    @TableField("print_unit")
    @ApiModelProperty("打印单位")
    private Integer printUnit;

    @TableField("assembly_ident")
    @ApiModelProperty("组合件标识")
    private Integer assemblyIdent;

    @TableField("allow_exce_rece")
    @ApiModelProperty("允许超额收货")
    private Integer allowExceRece;

    @TableField("exce_rece_perc")
    @ApiModelProperty("超额收货比例")
    private BigDecimal exceRecePerc;

    @TableField("stock_min")
    @ApiModelProperty("库存下限")
    private BigDecimal stockMin;

    @TableField("stock_max")
    @ApiModelProperty("库存上限")
    private BigDecimal stockMax;

    @TableField("in_check_serialnum")
    @ApiModelProperty("入库序列号验证数量")
    private Integer inCheckSerialnum;

    @TableField("out_check_serialnum")
    @ApiModelProperty("出库序列号验证数量")
    private Integer outCheckSerialnum;

    @TableField("asn_rece_qty_same")
    @ApiModelProperty("ASN导入收货数量一致")
    private Integer asnReceQtySame;

    @TableField("asn_ship_qty_same")
    @ApiModelProperty("SO导入发货数量一致")
    private Integer asnShipQtySame;

    @TableField("rece_scan")
    @ApiModelProperty("收货时扫描")
    private Integer receScan;

    @TableField("shelf_scan")
    @ApiModelProperty("上架时扫描")
    private Integer shelfScan;

    @TableField("whole_out_scan")
    @ApiModelProperty("整箱拣货时扫描")
    private Integer wholeOutScan;

    @TableField("zero_pick_scan")
    @ApiModelProperty("拆零拣货时扫描")
    private Integer zeroPickScan;

    @TableField("pack_comple_scan")
    @ApiModelProperty("包装完成时扫描")
    private Integer packCompleScan;

    @TableField("out_rev_scan")
    @ApiModelProperty("出库复核时")
    private Integer outRevScan;

    @TableField("transfer_scan")
    @ApiModelProperty("移库时扫描")
    private Integer transferScan;

    @TableField("quality_scan")
    @ApiModelProperty("质检时扫描")
    private Integer qualityScan;

    @TableField("section_num")
    @ApiModelProperty("款号")
    private Integer sectionNum;

    @TableField("color_num")
    @ApiModelProperty("色号")
    private Integer colorNum;

    @TableField("size_code")
    @ApiModelProperty("尺码")
    private Integer sizeCode;

    @TableField("cup_code")
    @ApiModelProperty("杯码")
    private Integer cupCode;

    @TableField("group5")
    @ApiModelProperty("组5")
    private Integer group5;

    @TableField("group6")
    @ApiModelProperty("组6")
    private Integer group6;

    @TableField("group7")
    @ApiModelProperty("组7")
    private Integer group7;

    @TableField("group8")
    @ApiModelProperty("组8")
    private Integer group8;

    @TableField("product_type_id")
    @ApiModelProperty("产品类型ID")
    private String productTypeId;

    @TableField("colle_serial_num")
    @ApiModelProperty("是否采集序列号")
    private Integer colleSerialNum;

    @TableField("def_customer_pack")
    @ApiModelProperty("默认收货包装")
    private Integer defCustomerPack;

    @TableField("def_supplier_pack")
    @ApiModelProperty("默认发货包装")
    private Integer defSupplierPack;

    @TableField("as_locat")
    @ApiModelProperty("RS库位")
    private Integer asLocat;

    @TableField("as_minilocat")
    @ApiModelProperty("准入MIMOLOAD库位")
    private Integer asMinilocat;

    @TableField("exemption")
    @ApiModelProperty("免检")
    private Integer exemption;

    @TableField("rf_recv_scan")
    @ApiModelProperty("rf入库收货扫描序列号")
    private Integer rfRecvScan;

    @TableField("rf_pick_scan")
    @ApiModelProperty("rf出库拣货扫描序列号")
    private Integer rfPickScan;

    @TableField("rf_move_scan")
    @ApiModelProperty("rf库位变化扫描序列号")
    private Integer rfMoveScan;

    @TableField("pc_scanrecv_scan")
    @ApiModelProperty("pc入库收货扫描序列号")
    private Integer pcScanrecvScan;

    @TableField("pc_check_scan")
    @ApiModelProperty("pc出库复核扫描序列号")
    private Integer pcCheckScan;

    @TableField("create_by")
    @ApiModelProperty("创建者")
    private String createBy;

    @TableField("create_at")
    @ApiModelProperty("建立时间")
    private DateTime createAt;

    @TableField("update_by")
    @ApiModelProperty("修改者")
    private String updateBy;

    @TableField("update_at")
    @ApiModelProperty("更新时间")
    private DateTime updateAt;

}
